package com.ljfresh.customer.sercice.Impl;

import com.ljfresh.customer.mapper.ErpGoodsMapper;
import com.ljfresh.customer.pojo.ErpGoods;
import com.ljfresh.customer.sercice.ErpGoodsService;
import com.ljfresh.customer.sercice.common.Impl.CommonServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: Lucifer
 * @time: 2020/4/9-16:11
 */
@Service
public class ErpGoodsServiceImpl extends CommonServiceImpl<ErpGoods,Long> implements ErpGoodsService {



    @Resource
    private ErpGoodsMapper erpGoodsMapper;

    @Autowired
    public void setGenericDao() {
        super.setCommonMapper(erpGoodsMapper);
    }

    @Override
    public Long delErpGoods() {
        return erpGoodsMapper.delErpGoods();
    }
}
